package com.study.design.model.behaviorPattern.command;

import org.junit.Test;

/**
* @Name: Client
* @Description: 命令模式测试客户端
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-15 下午7:47:24 
* @Version: V1.0
 */
public class Client {
	
	@Test
	public void command() {
		Command command = new ConcreteCommand(new Receive()) ;
		Invoke invoke = new Invoke(command) ;
		invoke.call() ;
	}

}
